﻿namespace tlBasic.Core;

/// <summary>
/// 缓存相关常量
/// </summary>
public class CacheConst
{
    

    /// <summary>
    /// 菜单缓存
    /// </summary>
    public const string KeyMenu = "menu:";

    /// <summary>
    /// 权限缓存
    /// </summary>
    public const string KeyPermission = "permission:";
    /// <summary>
    /// 登录状态
    /// </summary>
    public const string KeyTokenChange = "tokenchange:";

    /// <summary>
    /// 商户状态缓存
    /// </summary>
    public const string KeyTenantStatus = "tenantstatus:";


    /// <summary>
    /// 所有缓存关键字集合
    /// </summary>
    public const string KeyAll = "keys";

    /// <summary>
    /// 用户缓存
    /// </summary>
    public const string KeyFeeType = "feetype:";
}